<?php 
class Landing_model extends Model
{
	function __construct()
	{
		parent::__construct();
    	$this->load->database();
        $this->region_table='region';	
	}
	
	function digital_print()
	{
		$query = $this->db->get_where('bur_staticpages', array('staticpage_link' => 'digital_print'));
		
		return $query->result();
	}
	
	function litho_print()
	{
	
		$query = $this->db->get_where('bur_staticpages', array('staticpage_link' => 'litho_print'));
		
		return $query->result();
	}
    function _get_region_by_country($country_id){
   // $this->db->where('country', $country_id);
    $this->db->where('adm1code =', 'kyp');
     $this->db->order_by('name');
    $query = $this->db->get($this->region_table);
    return $query->result_array();
    }
    
}
?>